package com.heima.feign.clients;


import com.heima.feign.fallback.FeignFallback;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.user.pojos.ApUser;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "leadnews-wemedia",path = "/api/v1/user")
public interface WmMediaClient {
    @PostMapping("/add")
    public ResponseResult addUser(@RequestBody ApUser apUser);
}
